<?php
$conn=mysql_connect('127.0.0.1:3306','betty','123');
mysql_query("NAMES SET 'utf8'",$conn);
$sel=mysql_select_db('betty',$conn);
if($sel){
	echo '连接失败';
}else{
	echo '连接失败';
}
$name=$_POST['name'];
$gender=$_POST['dender'];
$point=$_POST['point'];
if($name==''){
	echo '请填写姓名';
}if($gender=='0') else{
	echo '请选择性别';
}if($point=='') else
{
	
	}
	
	}
?>